/**
 * Copyright (C) Skywares Information Technology, LTD. 
 * All Rights Reserved.
 *
 * MiaoshaUserKey.java created on 2020年2月2日 下午12:55:56 by Lyon Lu 
 */
package com.mvc.server.miaosha.redis;

/**
 * <pre>
 * Description:
 * 
 * @author Lyon Lu
 * @date 2020年2月2日 下午12:55:56
 *
 * </pre>
 */
public class MiaoshaUserKey extends BasePrefix{

	public static final int TOKEN_EXPIRE = 3600 * 6;
	
	/**
	* Description:
	* 
	* @param prefix
	*/
	public MiaoshaUserKey(String prefix) {
		super(prefix);
	}
	
	/**
	* Description:
	* 
	* @param expireSeconds
	* @param prefix
	 */
	public MiaoshaUserKey(int expireSeconds, String prefix) {
		super(expireSeconds, prefix);
	}
	
	public static MiaoshaUserKey getById = new MiaoshaUserKey(0, "id");
	
	public static MiaoshaUserKey token = new MiaoshaUserKey(TOKEN_EXPIRE, "tk");
}
